package com.supsky.service2.convert;

import com.supsky.service2.entity.Orders;
import com.supsky.serviceapi2.bo.OrderBo;
import com.supsky.serviceapi2.dto.OrderDto;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface OrderConvert {

    OrderConvert INSTANCE = Mappers.getMapper(OrderConvert.class);

    Orders dto2po(OrderDto orderDto);

    OrderBo po2bo(Orders order);
}
